package structs

type ChartsKV struct {
	Key   string `json:"key"`
	Value int64  `json:"value"`
}

type ClickChartsData struct {
	Total     int64      `json:"total"`
	ClickRate string     `json:"click_rate"`
	Lines     []ChartsKV `json:"lines"`
}

type MpChartsData struct {
	Total  int64  `json:"total"`
	MpRate string `json:"mp_rate"`
}

type WeComChartsData struct {
	Total     int64  `json:"total"`
	WeComRate string `json:"wecom_rate"`
}

type InsurancePolicyChartsData struct {
	Total      int64  `json:"total"`
	PolicyRate string `json:"policy_rate"`
}

type InsurancePolicyUpgradeChartsData struct {
	Total      int64  `json:"total"`
	PolicyRate string `json:"policy_rate"`
}

type TotalSmsChartsData struct {
	Total int64 `json:"total"`
	Fail  int64 `json:"fail"`
}

type UserPropChartsData struct {
	Name string `json:"name"`
	Num  int64  `json:"num"`
}

type TotalUserSummaryData struct {
	UV        int64 `json:"uv"`
	UVToday   int64 `json:"uv_today"`
	MpUV      int64 `json:"mp_uv"`
	MpUVToday int64 `json:"mp_uv_today"`
}
